package com.supermate.supercut.infra.entity;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @author youyuangang
 */
public class ResourceDO implements Serializable {
    /**
     *
     * @mbg.generated
     */
    private static final long serialVersionUID = 1L;

    /**
     *
     *
     * @mbg.generated
     */
    private Long id;

    /**
     *
     *
     * @mbg.generated
     */
    private Date gmtCreate;

    /**
     *
     *
     * @mbg.generated
     */
    private Date gmtModify;

    /**
     *
     *
     * @mbg.generated
     */
    private String clipName;

    /**
     *
     *
     * @mbg.generated
     */
    private String resourceName;

    /**
     *
     *
     * @mbg.generated
     */
    private Integer resourceType;

    /**
     * Database Column Remarks:
     *   下载次数或浏览次数
     *
     *
     * @mbg.generated
     */
    private Long viewTimes;

    /**
     * Database Column Remarks:
     *   1代表删除
     *
     *
     * @mbg.generated
     */
    private Byte deleteFlag;

    /**
     *
     *
     * @mbg.generated
     */
    private String content;

    /**
     *
     *
     * @mbg.generated
     */
    private String extAttr;

    /**
     *
     * @return the value of resource.id
     *
     * @mbg.generated
     */
    public Long getId() {
        return id;
    }

    /**
     *
     * @param id the value for resource.id
     *
     * @mbg.generated
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     *
     * @return the value of resource.gmt_create
     *
     * @mbg.generated
     */
    public Date getGmtCreate() {
        return gmtCreate;
    }

    /**
     *
     * @param gmtCreate the value for resource.gmt_create
     *
     * @mbg.generated
     */
    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    /**
     *
     * @return the value of resource.gmt_modify
     *
     * @mbg.generated
     */
    public Date getGmtModify() {
        return gmtModify;
    }

    /**
     *
     * @param gmtModify the value for resource.gmt_modify
     *
     * @mbg.generated
     */
    public void setGmtModify(Date gmtModify) {
        this.gmtModify = gmtModify;
    }

    /**
     *
     * @return the value of resource.clip_name
     *
     * @mbg.generated
     */
    public String getClipName() {
        return clipName;
    }

    /**
     *
     * @param clipName the value for resource.clip_name
     *
     * @mbg.generated
     */
    public void setClipName(String clipName) {
        this.clipName = clipName;
    }

    /**
     *
     * @return the value of resource.resource_name
     *
     * @mbg.generated
     */
    public String getResourceName() {
        return resourceName;
    }

    /**
     *
     * @param resourceName the value for resource.resource_name
     *
     * @mbg.generated
     */
    public void setResourceName(String resourceName) {
        this.resourceName = resourceName;
    }

    /**
     *
     * @return the value of resource.resource_type
     *
     * @mbg.generated
     */
    public Integer getResourceType() {
        return resourceType;
    }

    /**
     *
     * @param resourceType the value for resource.resource_type
     *
     * @mbg.generated
     */
    public void setResourceType(Integer resourceType) {
        this.resourceType = resourceType;
    }

    /**
     *
     * @return the value of resource.view_times
     *
     * @mbg.generated
     */
    public Long getViewTimes() {
        return viewTimes;
    }

    /**
     *
     * @param viewTimes the value for resource.view_times
     *
     * @mbg.generated
     */
    public void setViewTimes(Long viewTimes) {
        this.viewTimes = viewTimes;
    }

    /**
     *
     * @return the value of resource.delete_flag
     *
     * @mbg.generated
     */
    public Byte getDeleteFlag() {
        return deleteFlag;
    }

    /**
     *
     * @param deleteFlag the value for resource.delete_flag
     *
     * @mbg.generated
     */
    public void setDeleteFlag(Byte deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    /**
     *
     * @return the value of resource.content
     *
     * @mbg.generated
     */
    public String getContent() {
        return content;
    }

    /**
     *
     * @param content the value for resource.content
     *
     * @mbg.generated
     */
    public void setContent(String content) {
        this.content = content;
    }

    /**
     *
     * @return the value of resource.ext_attr
     *
     * @mbg.generated
     */
    public String getExtAttr() {
        return extAttr;
    }

    /**
     *
     * @param extAttr the value for resource.ext_attr
     *
     * @mbg.generated
     */
    public void setExtAttr(String extAttr) {
        this.extAttr = extAttr;
    }

    /**
     * @return
     *
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append(", id=").append(id);
        sb.append(", gmtCreate=").append(gmtCreate);
        sb.append(", gmtModify=").append(gmtModify);
        sb.append(", clipName=").append(clipName);
        sb.append(", resourceName=").append(resourceName);
        sb.append(", resourceType=").append(resourceType);
        sb.append(", viewTimes=").append(viewTimes);
        sb.append(", deleteFlag=").append(deleteFlag);
        sb.append(", content=").append(content);
        sb.append(", extAttr=").append(extAttr);
        sb.append("]");
        return sb.toString();
    }
}